Skip to content

infra: apply final portal spec updates and remove portal submodule#248

Open
marc0olo wants to merge 1 commit into
mainfrom
infra/portal-deprecation
Open

infra: apply final portal spec updates and remove portal submodule#248
marc0olo wants to merge 1 commit into
mainfrom
infra/portal-deprecation

Conversation

@marc0olo
Copy link
Copy Markdown
Member

Summary

  • Applied three upstream IC spec changes from dfinity/portal@fe646b2 (the final commit we sync before removing the submodule):
    • canister_metrics endpoint (fe646b2): new management canister query method returning cycle consumption broken down by memory, compute, ingress induction, instructions, HTTP outcalls, etc. Ported to ic.did, changelog.md (v0.61.0), management-canister.md (spec page + reference page entry), and abstract-behavior.md (allowed-methods list, abstract rule, query call conditions).
    • sender_info validation refactor (dc29431): sender_info checks consolidated into verify_envelope predicate; five now-redundant per-call blocks removed from update and query call conditions in abstract-behavior.md.
    • Ingress expiry typo fix (8304ab0): added missing or RS.sender = anonymous_id to the subnet read-state ingress_expiry condition in abstract-behavior.md.
  • Removed the dfinity/portal git submodule (.sources/portal). The spec files it synced — ic.did, certificates.cddl, requests.cddl, http-gateway.did, the ic-interface-spec/ split pages, and http-gateway-spec.md — are now maintained directly in this repository.
  • Updated AGENTS.md: removed portal from the submodule table and per-submodule bump checklist; replaced the "Synced files from submodules" / "Portal bump checklist" block with a leaner "Directly maintained spec files" table; removed the "Portal tracking" section.
  • Updated README.md, .sources/VERSIONS, .docs-plan/content-authoring.md to remove remaining operational portal references.

Sync recommendation

hand-written — spec content is now maintained directly in this repository; no upstream submodule to sync from.

Apply three upstream spec changes from dfinity/portal@fe646b2 (the final
commit before deprecation):

- canister_metrics endpoint: new management canister query method that
  returns cycle consumption broken down by memory, compute, ingress,
  instructions, http outcalls, etc. Applied to ic.did, changelog (v0.61.0),
  management-canister.md (method doc + reference entry), and
  abstract-behavior.md (method-list, abstract rule, query call conditions).
- sender_info validation refactor (dc29431): move sender_info checks into
  verify_envelope predicate; remove five now-redundant per-call blocks from
  update and query call conditions in abstract-behavior.md.
- Ingress expiry typo fix (8304ab0): add missing "or RS.sender = anonymous_id"
  to the subnet read-state ingress_expiry condition.

Remove the dfinity/portal git submodule (.sources/portal). The spec files it
synced — ic.did, certificates.cddl, requests.cddl, http-gateway.did, the
ic-interface-spec split pages, and http-gateway-spec.md — are now maintained
directly in this repository.

Update AGENTS.md: remove portal from the submodule table and per-submodule
bump checklist; replace the "Synced files from submodules" / "Portal bump
checklist" sections with a "Directly maintained spec files" table; remove the
"Portal tracking" section. Update README.md, .sources/VERSIONS, and
.docs-plan/content-authoring.md to remove remaining operational portal
references.
@marc0olo marc0olo requested a review from a team as a code owner May 12, 2026 15:19
@github-actions github-actions Bot added the interface-spec Changes to the IC interface specification label May 12, 2026
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 12, 2026

🤖 Here's your preview: https://soxyi-6iaaa-aaaam-ai2ra-cai.icp0.io

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

interface-spec Changes to the IC interface specification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant